package com.gu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Description: springboot 主配置类
 *
 * @Autor: Rolin
 * datetime: 05-11-20:22
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
//这个是为了扫描到 common-base中的配置类
@ComponentScan(basePackages = {"com.boot", "com.gu"})
public class ServiceEduBoot {
    public static void main(String[] args) {
        SpringApplication.run(ServiceEduBoot.class,args);
    }
}
